#pragma once

#pragma comment(lib, "d3d9.lib")
#ifdef _DEBUG
#	pragma comment(lib, "d3dx9d.lib")
#else
#	pragma comment(lib, "d3dx9.lib")
#endif

#include "resource.h"

#define SAFE_DELETE(p)			{ if(p != nullptr) { delete p; p = nullptr; } }
#define SAFE_DELETE_ARRAY(p)	{ if(p != nullptr) { delete[] p; p = nullptr; } }